
package com.intretech.umsin.system.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.intretech.umsin.datasource.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;


 /**
 * @version V1.0
 * 操作日志记录:sys_oper_log 对应实体类.
 * @ClassName: SysOperLog
 * @Description: 操作日志记录:sys_oper_log 对应实体类.
 * @author: 李启联
 * @date:   2022-8-16 16:25:07
 * @Copyright: Copyright (c) 2022
 */
@TableName("`sys_oper_log`")
public class SysOperLogEntity extends BaseEntity {
   // 模块标题
   @TableField(value = "title")
   private String title;
   // 业务类型（0其它 1新增 2修改 3删除）
   @TableField(value = "business_type")
   private Integer businessType;
   // 方法名称
   @TableField(value = "method")
   private String method;
   // 请求方式
   @TableField(value = "request_method")
   private String requestMethod;
   // 操作类别（0其它 1后台用户 2手机端用户）
   @TableField(value = "operator_type")
   private Integer operatorType;
   // 操作人员
   @TableField(value = "oper_name")
   private String operName;
   // 部门名称
   @TableField(value = "dept_name")
   private String deptName;
   // 请求URL
   @TableField(value = "oper_url")
   private String operUrl;
   // 主机地址
   @TableField(value = "oper_ip")
   private String operIp;
   // 操作地点
   @TableField(value = "oper_location")
   private String operLocation;
   // 请求参数
   @TableField(value = "oper_param")
   private String operParam;
   // 返回参数
   @TableField(value = "json_result")
   private String jsonResult;
   // 操作状态（0正常 1异常）
   @TableField(value = "status")
   private Integer status;
   // 错误消息
   @TableField(value = "error_msg")
   private String errorMsg;
   // 操作时间
   @TableField(value = "oper_time")
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
   private LocalDateTime operTime;

   public String getTitle(){
        return this.title;
   }
   public void setTitle(String title){
        this.title = title;
   }
   public Integer getBusinessType(){
        return this.businessType;
   }
   public void setBusinessType(Integer businessType){
        this.businessType = businessType;
   }
   public String getMethod(){
        return this.method;
   }
   public void setMethod(String method){
        this.method = method;
   }
   public String getRequestMethod(){
        return this.requestMethod;
   }
   public void setRequestMethod(String requestMethod){
        this.requestMethod = requestMethod;
   }
   public Integer getOperatorType(){
        return this.operatorType;
   }
   public void setOperatorType(Integer operatorType){
        this.operatorType = operatorType;
   }
   public String getOperName(){
        return this.operName;
   }
   public void setOperName(String operName){
        this.operName = operName;
   }
   public String getDeptName(){
        return this.deptName;
   }
   public void setDeptName(String deptName){
        this.deptName = deptName;
   }
   public String getOperUrl(){
        return this.operUrl;
   }
   public void setOperUrl(String operUrl){
        this.operUrl = operUrl;
   }
   public String getOperIp(){
        return this.operIp;
   }
   public void setOperIp(String operIp){
        this.operIp = operIp;
   }
   public String getOperLocation(){
        return this.operLocation;
   }
   public void setOperLocation(String operLocation){
        this.operLocation = operLocation;
   }
   public String getOperParam(){
        return this.operParam;
   }
   public void setOperParam(String operParam){
        this.operParam = operParam;
   }
   public String getJsonResult(){
        return this.jsonResult;
   }
   public void setJsonResult(String jsonResult){
        this.jsonResult = jsonResult;
   }
   public Integer getStatus(){
        return this.status;
   }
   public void setStatus(Integer status){
        this.status = status;
   }
   public String getErrorMsg(){
        return this.errorMsg;
   }
   public void setErrorMsg(String errorMsg){
        this.errorMsg = errorMsg;
   }
   public LocalDateTime getOperTime(){
        return this.operTime;
   }
   public void setOperTime(LocalDateTime operTime){
        this.operTime = operTime;
   }

  public SysOperLogEntity(){
  }


  @Override
  public String toString(){
  return " SysOperLog ["
    +" title = " +title +" ,"
    +" businessType = " +businessType +" ,"
    +" method = " +method +" ,"
    +" requestMethod = " +requestMethod +" ,"
    +" operatorType = " +operatorType +" ,"
    +" operName = " +operName +" ,"
    +" deptName = " +deptName +" ,"
    +" operUrl = " +operUrl +" ,"
    +" operIp = " +operIp +" ,"
    +" operLocation = " +operLocation +" ,"
    +" operParam = " +operParam +" ,"
    +" jsonResult = " +jsonResult +" ,"
    +" status = " +status +" ,"
    +" errorMsg = " +errorMsg +" ,"
    +" operTime = " +operTime +" ,"
  +" ]";
  }
}